<?php header("Content-type:text/html;charset=utf-8"); ?>
<html>
<head>
<?php $this->import('title');?>
</head>
<body>
<table>
<tr><th>ID</th><th>Name</th></tr>
<?php foreach($this->cates as $k=>$v):?>
<tr><td><?php echo $v['id']?>&nbsp;</td><td><?php echo $v['cateName']?>&nbsp;</td></tr>
<?php endforeach;?>

</table>
</body>
</html>